/* Layout */
import Layout from '../views/layout/Layout';


const _import = require(`./_import_${process.env.NODE_ENV}`);

const gameInterfaceRoutes = [
  {
    path: '/gameDataManage',
    component: Layout,
    redirect: 'noredirect',
    name: 'game-interface',
    meta: {
      title: '游戏数据管理',
      icon: 'documentation',
      roles: [],
    },
    children: [
      {
        path: 'game-data',
        name: 'game-add-data',
        component: _import('gameDataManage/gameData/index'),
        meta: {
          title: '游戏数据',
          notLog: true,
          roles: ['data-add', 'add-upload', 'data-check', 'data-delete', 'data-download'],
        },
      },
    ],
  },
];
export default gameInterfaceRoutes;
